-
Home
-
Asaas Gateway for WooCommerce
-
2.6.0
-
Code
-
Classes
- Webhook
Total Complexity |
72 |
Dependencies |
14 |
Dependents |
3 |
Total lines |
485 |
Lines of code |
265 |
Logical lines of code |
180 |
Comment lines |
130 |
Methods |
17 |
Properties |
4 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
on_payment_created() |
B |
37 |
18 |
68 |
process_event() |
A |
51 |
9 |
30 |
process_payment() |
A |
52 |
9 |
21 |
update_order_values_on_credit_card() |
S |
55 |
6 |
21 |
on_payment_refunded() |
S |
54 |
5 |
20 |
on_payment_confirmed() |
S |
55 |
4 |
18 |
on_payment_restored() |
S |
60 |
3 |
13 |
on_payment_deleted() |
S |
60 |
3 |
13 |
on_payment_overdue() |
S |
60 |
3 |
13 |
set_order_discount() |
S |
67 |
2 |
8 |
calculate_item_total() |
S |
67 |
2 |
8 |
calculate_item_fee_value() |
S |
70 |
2 |
6 |
on_payment_updated() |
S |
69 |
2 |
6 |
__construct() |
S |
66 |
1 |
8 |
add_item_fee_to_order() |
S |
71 |
1 |
6 |
__get() |
S |
81 |
1 |
3 |
add_order_note() |
S |
79 |
1 |
3 |